package com.chixing.day17_reflect_thread.thread;



public class TestChar {

    //主线程main线程
    public static void main(String[] args) {

        int a;
        String threadName = Thread.currentThread().getName();

        System.out.println(threadName);


        CharThread charThread = new CharThread();//1.启动线程(开辟一块堆内存)
        NumberThread numberThread = new NumberThread();

        charThread.start();//2.启动线程,处于就绪状态(不代表运行，不可以直接调用run方法)   //3.运行
        numberThread.start();


    }
}
